<html>
<head>
    <title>Classico Deal</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="shortcut icon" href="/classico/public/assets/all-site/images/favicon.ico"/>
    <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/assets/all-site/css/reset.css') ?>
    <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/assets/front-end/css/style.css') ?>
    <?php echo $this->headLink()->appendStylesheet($this->baseUrl() . '/assets/front-end/css/input.css') ?>
    <script type="text/javascript"
            src="/classico/public/assets/all-site/js/jquery-1.8.2.js"></script>
</head>
<body>
<div id="wrapper">
    <div id="header-wrap">
        <div id="header">
            <a href="/classico/public/index/index">
                <h1 id="logo">
                    HOTDEAL
                </h1>
            </a>
            <a href="/classico/public/index/index">
                <h2 id="homepage">
                    Homepage
                </h2>
            </a>
        </div>
    </div>
    <nav>
        <ul>
            <li><a href="/classico/public/index/index">Recent Deal</a></li>
            <li><a href="http://facebook.com">Facebook</a></li>
            <li><a href="http://google.com.vn">Google</a></li>
            <?php
            $user = JFactory::getUser();
            if ($user->IsGuest) :
                ?>
                <li class="nav-item-right">
                    <a href="/classico/public/user/login">Login</a>
                </li>
                <li class="nav-item-right">
                    <a href="/classico/public/user/register">Register</a>
                </li>
            <?php
            endif;
            if (!$user->IsGuest) :
                ?>
                <li class="nav-item-right"><a href="/classico/public/user/logout">Logout</a></li>
            <?php
            endif
            ?>
            <li class="nav-item-right">
                <a href="/classico/public/shopping-cart/index">Cart</a>
            </li>
            <?php
            if (!$user->IsGuest) :
                ?>
                <li class="nav-item-right">
                    <a>User Info</a>
                    <ul>
                        <li><a href="/classico/public/user-order/index">Order</a></li>
                        <li><a>Calendar</a></li>
                    </ul>
                </li>
            <?php
            endif
            ?>
        </ul>
    </nav>
    <div id="main-content">
        <?php echo $this->layout()->content; ?>
    </div>
    <div id="footer">
        <span>DESIGNED BY HT</span>
    </div>
</div>
</body>
</html>